package com.lollipop.shiro.model;

import lombok.Data;
import lombok.Getter;
import lombok.Setter;

import java.util.HashSet;
import java.util.Set;

/**
 * @Author: J.K
 * @Date: 2021-06-02 14:08
 * @Description:
 */
@Data
public class User {
    @Getter
    @Setter
    private String uid;

    @Getter
    @Setter
    private String username;

    @Getter
    @Setter
    private String password;

    @Getter
    @Setter
    private Set<Role> roles = new HashSet<>();
}
